package de.koller.reason.gameGui.raid;

import de.koller.oceanFramework.glyph.GlyphRendererGL;
import de.koller.reason.RSea;
import de.koller.reason.gameGui.visual.StaticGlyphVisual;
import de.koller.reason.gui.component.RComponent;
import de.koller.reason.gui.component.RPanel;

public class RaidInterface extends RSea {
	
	private RComponent component;
	private RPanel title;
	
	@Override
	protected void init() {
		super.init();
		
		component = new RComponent();
		component.setPos( 100, 100 );
		
		title = new RPanel( StaticGlyphVisual.RaidIntTitle.part );
		component.addComponent( title );
		title.addTo( rroot.guiRoot, rroot.guiRoot.staticGlyphRenderObj );
		GlyphRendererGL r = rroot.guiRoot.getStaticGlyph().getRenderer();
		r.setCurrentBackColor( 0xff202020 );
		r.setCurrentFontColor( 0xffffffff );
		r.renderString( 0, 0, "Spieler" );
	}
	
	
	
}
